import {
	post,
	get
} from '@/service'

import commonConfigs from '@/setupproject/BASE_CONFIG.js'

// common-api start
export function getPayTypeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/get_pay_type`,
		data,
	})
}

export function getConfigHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/config/home`,
		data,
	})
}

export function getContentAgreementApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/content/agreement`,
		data,
	})
}

export function getContentAgreementDotApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/content/agreement_dot`,
		data,
	})
}
// common-api end

// coupon-api start
export function getWelfareHouseIndexApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/index`,
		data,
	})
}

export function getWelfareHouseRowApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/row`,
		data,
	})
}

export function getWelfareHouseJoinLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/join_log`,
		data,
	})
}

export function getWelfareHouseJoinRoomApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/join_room`,
		data,
	})
}

export function getWelfareHouseLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/log`,
		data,
	})
}

export function getWelfareHouseHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/welfare_house/home`,
		data,
	})
}

export function getCouponRowApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/row`,
		data,
	})
}

export function getCouponPointsListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/points_list`,
		data,
	})
}

export function getCouponPointsConvertApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/points_convert_coupon`,
		data,
	})
}

export function getCouponHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/home`,
		data,
	})
}

export function getCouponDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/done`,
		data,
	})
}

export function getCouponShareApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/share`,
		data,
	})
}

export function getCouponReceiveApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/coupon/receive`,
		data,
	})
}

export function getCouponUnshareApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/coupon/unshare`,
		data,
	})
}

export function getActivityIndexApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/activity/home`,
		data,
	})
}

export function getActivityDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/activity/finish`,
		data,
	})
}

// coupon-api end


// inviter-api start
export function getInviteHomeApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/home`,
		data,
	})
}

export function getInviteReceiveLogApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/receive_log`,
		data,
	})
}

export function getInviteQrcodeApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/get_qrcode`,
		data,
	})
}

export function getInviteReceiveApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/receive`,
		data,
	})
}

export function getInviteReceiveAllApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/receive_all`,
		data,
	})
}

export function getInviteCodeBindApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/invite_code_bind`,
		data,
	})
}

// inviter-api end

// message-api start
export function getEmailIndexApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/email/index`,
		data,
	})
}

export function getEmailInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/email/row`,
		data,
	})
}

export function getEmailUpdateApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/email/done`,
		data,
	})
}

export function getEmailRedHitApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/email/red_hit`,
		data,
	})
}

export function getEmailHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/email/home`,
		data,
	})
}

// message-api end

// orders-api start
export function getHomeBannerApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/home/banner`,
		data,
	})
}

export function geRewardPoolTypeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_type`,
		data,
	})
}

export function geRewardPoolApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool`,
		data,
	})
}

export function geRewardPoolInfiniteApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite`,
		data,
	})
}

export function geRewardPoolOpenBoxApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_list`,
		data,
	})
}

export function getPoolDiyInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_info`,
		data,
	})
}

export function getPoolDiyItemListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_item_list`,
		data,
	})
}

export function getPoolDiyLogListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_item_log`,
		data,
	})
}

export function getPoolDiySetItemApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_set_item`,
		data,
	})
}

export function getPoolDiyOrderPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_order_pre`,
		data,
	})
}

export function getPoolDiyOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_diy_order`,
		data,
	})
}

export function geRewardPoolInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_info`,
		data,
	})
}

export function geRewardPoolItemApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_item`,
		data,
	})
}

export function geRewardPoolItemDetailApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_item_detail`,
		data,
	})
}

export function geRewardPoolSortNumLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_sort_num_log`,
		data,
	})
}

export function geRewardShowItemDetailApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/show_item_detail`,
		data,
	})
}

export function geRewardPoolBoxsApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_boxs`,
		data,
	})
}

export function geRewardPoolItemLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_item_log`,
		data,
	})
}

export function geRewardOrderPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/order_pre`,
		data,
	})
}

export function geRewardOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/order`,
		data,
	})
}

export function geRewardsApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/reward`,
		data,
	})
}

export function geUserItemBagApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/item_bag`,
		data,
	})
}

export function geUserInsureListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/insure_list`,
		data,
	})
}

export function geUserInsureApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/insure`,
		data,
	})
}

export function geUserRecoveryApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/recovery`,
		data,
	})
}

export function geUserRewardSendOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/reward_send_order`,
		data,
	})
}

export function geUserShopProductSendOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/shop_product_send_order`,
		data,
	})
}

export function getUserRewardSendApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/reward_send`,
		data,
	})
}

export function getUserShopProductSendApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/shop_product_send`,
		data,
	})
}

export function getUserRewardSendPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/reward_send_pre`,
		data,
	})
}

export function getUserShopProductSendPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/shop_product_send_pre`,
		data,
	})
}

export function getRewardMessageLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/message_log`,
		data,
	})
}

export function getRewardPoolInfiniteItemApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite_item`,
		data,
	})
}

export function getUserShopBagApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/shop_bag`,
		data,
	})
}

export function getRewardViewAgreementApi(data){
	return post({
		url:  `${commonConfigs.InterfaceComUrl}/reward/view_agreement`,
		data,
	})
}

export function getRewardViewAgreementHitApi(data){
	return post({
		url:  `${commonConfigs.InterfaceComUrl}/reward/view_agreement_hit`,
		data,
	})
}

export function getRewardOrderPointPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/order_point_pre`,
		data,
	})
}

export function getRewardOrderPointApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/order_point`,
		data,
	})
}

export function getHomePersonPoolNewApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/home/person_pool_new`,
		data,
	})
}

export function getHomePersonCouponListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/home/person_coupon_list`,
		data,
	})
}

export function getHomePersonCouponDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/home/person_coupon_done`,
		data,
	})
}

export function getPoolInfiniteItemNewPersonApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite_item_new_person`,
		data,
	})
}

export function getPoolInfiniteItemSpeedApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite_item_speed`,
		data,
	})
}

export function getPoolInfiniteItemLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite_item_log`,
		data,
	})
}

export function getPoolInfiniteIOuHuangApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_infinite_ouhuang`,
		data,
	})
}

export function getUserPayNoticeApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/pay_notice`,
		data,
	})
}

export function getUserPayNoticeHitApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/pay_notice_hit`,
		data,
	})
}

export function getRewardPoolRecordApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_record`,
		data,
	})
}

export function getRewardPoolRankApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_rank`,
		data,
	})
}

export function getRewardPoolRateApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward/pool_rate`,
		data,
	})
}

export function getRewardBoxListApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward_box/list`,
		data,
	})
}

export function getRewardBoxBagApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward_box/box_bag`,
		data,
	})
}

export function getRewardOpenBoxApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward_box/open_box`,
		data,
	})
}


export function getRewardBoxLogApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/reward_box/box_log_list`,
		data,
	})
}
// orders-api end


// roulette-api start
export function getTurntableIndexApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/turntable/index`,
		data,
	})
}

export function getTurntableDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/turntable/done`,
		data,
	})
}

export function getTurntableLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/turntable/log`,
		data,
	})
}

export function getTaskHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/task/home`,
		data,
	})
}

export function getTaskDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/task/done`,
		data,
	})
}

export function getTaskDoneAllApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/task/done_all`,
		data,
	})
}

// roulette-api end

// shopping-api start
export function getProductTypeListApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/shop/product_type_list`,
		data,
	})
}

export function getProductListApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/shop/product_list`,
		data,
	})
}

export function getProductInfoApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/shop/product_info`,
		data,
	})
}

export function getProductOrderPreApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/shop/product_order_pre`,
		data,
	})
}

export function getProductOrderApi(data){
	return post({
		url:`${commonConfigs.InterfaceComUrl}/shop/product_order`,
		data,
	})
}
// shopping-api end

// signin-api start
export function getSigninDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/signin/done`,
		data,
	})
}

export function getSigninHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/signin/home`,
		data,
	})
}

export function getSigninTotalRewardApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/signin/get_total_reward`,
		data,
	})
}

export function getSigninTotalRewardListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/signin/total_reward_list`,
		data,
	})
}

// signin-api end

// userinfo-api start
export function getUserWechatAuthApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/wechat_auth`,
		data,
	})
}

export function getUserWxLoginApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/wx_login`,
		data,
	})
}

export function getUserIosLoginApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/ios_login`,
		data,
	})
}

export function getUserAutoLoginApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/auto_login`,
		data,
	})
}

export function getUpdateUserInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/update_user_info`,
		data,
	})
}

export function getUserCodeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/code`,
		data,
	})
}

export function getUserLoginApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/login`,
		data,
	})
}

export function getUserDestroyApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/destroy`,
		data,
	})
}

export function getCheckUserBanApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/check_user_ban`,
		data,
	})
}

export function getUserInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/user_info`,
		data,
	})
}

export function getUpdatePhoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/update_phone`,
		data,
	})
}

export function getShopProductSendOrderListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/shop_product_send_order_list`,
		data,
	})
}

export function getRewardSendConfirmApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/reward_send_confirm`,
		data,
	})
}

export function getUserRecoveryLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/recovery_log`,
		data,
	})
}

export function getUserBalanceOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/balance_order`,
		data,
	})
}

export function getLianlianCheckAPi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/lianlian_check`,
		data,
	})
}

export function getLianlianBindAPi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/lianlian_bind`,
		data,
	})
}

export function getUserBalanceOrderConfirmApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/balance_order_confirm`,
		data,
	})
}

export function getUserAddressListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/address_list`,
		data,
	})
}

export function getUserAddressAddApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/address_add`,
		data,
	})
}

export function getUserAddressEditApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/address_edit`,
		data,
	})
}

export function getUserAddressDeleteApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/address_del`,
		data,
	})
}

export function getUserAddressGetDefaultApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/address_get_default_info`,
		data,
	})
}

export function getUserViewPayAgreementApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/view_pay_agreement`,
		data,
	})
}

export function getUserPortraitApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/portrait`,
		data,
	})
}

export function getConfigNeedJumpApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/config/need_jump`,
		data,
	})
}

export function getContentHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/content/home`,
		data,
	})
}

export function getUserBillApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/user_bill`,
		data,
	})
}

export function getUserCurrencyListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/user_currency_list`,
		data,
	})
}

export function getUserPointsListApi(data) {
 	return post({
 		url: `${commonConfigs.InterfaceComUrl}/user/points_list`,
 		data,
 	})
}

export function getRequestNumApi(data) {
  	return post({
  		url: `${commonConfigs.InterfaceComUrl}/user/get_request_num`,
  		data,
  	})
}

export function getUserInfoEnableApi(data) {
 	return post({
 		url: `${commonConfigs.InterfaceComUrl}/user/get_enable_info`,
 		data,
 	})
}

// userinfo-api end

// viper-api start

export function getRecordShareLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/record_share_log`,
		data,
	})
}

export function getVipHomeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/vip/home`,
		data,
	})
}

export function getVipLevelDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/vip/vip_level_done`,
		data,
	})
}

export function getDayVipRewardDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/vip/day_vip_reward_done`,
		data,
	})
}
// viper-api end

// recommend start
// 推荐官首页
export function getInviteRecommendApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/recommend`,
		data,
	})
}

// 推荐官领取
export function getInviteRecommendCashoutApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/recommend_cash_out`,
		data,
	})
}

// 推荐官领取记录
export function getInviteRecommendCashlogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/invite/recommend_cash_log`,
		data,
	})
}

// 保存用户信息
export function getUserSaveInfoApi(data){
	return post({
		url: `${commonConfigs.InterfaceComUrl}/user/user_save_info`,
		data,
	})
}
// recommend end

// Challenge Start
export function geChallengeOrderApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_order_gyms`,
		data,
	})
}

export function geChallengeRecordApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/pool_item_log`,
		data,
	})
}

export function geRewardPoolChallengeTypeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_type`,
		data,
	})
}

export function geRewardPoolChallengeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_list`,
		data,
	})
}

export function getPoolChallengeInfoApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_pool_info_gyms`,
		data,
	})
}

export function getPoolChallengeItemSpeedApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_pool_gyms_item_speed`,
		data,
	})
}

export function geChallengeOrderPreApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_order_gyms_pre`,
		data,
	})
}

export function geChallengeResApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_gyms`,
		data,
	})
}
// Challenge End

// competitionPage Start
// 爬塔 中赏记录
export function getChallengeRewardRecordApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/reward_record`,
		data,
	})
}

// 爬塔 成就奖励领取记录(徽章兑换)
export function getChallengeMedalReceiveLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/medal_reward_receive_log`,
		data,
	})
}

// 爬塔 成就奖励
export function getMedalRewardListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_medal_reward_list`,
		data,
	})
}

// 爬塔 成就奖励领取
export function getMedalRewardApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/get_gyms_medal_reward`,
		data,
	})
}

// 道馆勋章领取状态
export function getMedalStatusApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_medal_status`,
		data,
	})
}

// 道馆勋章领取
export function getChallengeMedalApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/get_gyms_medal`,
		data,
	})
}

// 爬塔 名人堂
export function getHallOfFameListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/hall_of_fame_list`,
		data,
	})
}

// 道馆勋章一键领取
export function getAllMedalApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/get_all_gyms_medal`,
		data,
	})
}

// 爬塔 补剂站奖励
export function getChallengeSupplyListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_supply_reward_list`,
		data,
	})
}

// 爬塔 补剂站奖励领取
export function getChallengeSupplyRewardApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/get_gyms_supply_reward`,
		data,
	})
}

// 爬塔 收藏
export function getChallengeCollectApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_collect`,
		data,
	})
}

// 爬塔 收藏列表
export function getChallengeCollectListApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/gyms_reward/gyms_collect_list`,
		data,
	})
}
// competitionPage End

// redEnvelope Start
export function setRedPacketMakeApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/red_packet/make`,
		data,
	})
}

export function getRedPacketLogApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/red_packet/log`,
		data,
	})
}

export function getRedPacketPoolApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/red_packet/pool`,
		data,
	})
}

export function getRedPacketDetailApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/red_packet/row`,
		data,
	})
}

export function getRedPacketDoneApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/red_packet/done`,
		data,
	})
}
// redEnvelope End

// suggestions Start
export function setFeedbackCreateApi(data) {
	return post({
		url: `${commonConfigs.InterfaceComUrl}/feedback/create`,
		data,
	})
}
// suggestions End